import os

if __name__ == "__main__":
    direc_anno = os.listdir('/home/sw/algo-env/dataset/Dispatching_Room/Annotations')
    direc_img = os.listdir('/home/sw/algo-env/dataset/Dispatching_Room/Images_comple')
    print('Annotations Numeber: ', len(direc_anno))
    print('Images_comple Numeber: ', len(direc_img))
    anno_name = []
    for anno in direc_anno:
        anno_prefix, anno_suffix = os.path.splitext(anno)
        anno_name.append(anno_prefix)
    print(len(anno_name))
    img_name = []
    for img in direc_img:
        img_prefix, img_suffix = os.path.splitext(img)
        img_name.append(img_prefix)
    print(len(img_name))
    anno_name = set(anno_name)
    img_name = set(img_name)
    print(anno_name ^ img_name)
